package info.gridworld.grid;

import info.gridworld.actor.ActorWorld;
import info.gridworld.actor.Bug;
import info.gridworld.actor.Critter;

public class GridRunner {
    public static void main(String[] args) {
        ActorWorld world = new ActorWorld();
        world.addGridClass("info.gridworld.grid.SparseBoundedGrid1");//问题一
        world.addGridClass("info.gridworld.grid.SparseBoundedGrid2");//问题二
        world.addGridClass("info.gridworld.grid.UnboundedGrid3");////问题三
        //world.add(new Location(2, 2), new Critter());
        world.add(new Location(1, 1), new Bug());
        world.show();
    }

}
